package com.example.sociamedia.post.entity;

import lombok.Getter;

import java.time.LocalDateTime;

@Getter
public class Post {
    // Getters and Setters
    private Long postId;
    private Integer userId;
    private String content;
    private String mediaUrl;
    private String mediaType;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private Boolean isPublic;

    public void setPostId(Long postId) { this.postId = postId; }

    public void setUserId(Integer userId) { this.userId = userId; }

    public void setContent(String content) { this.content = content; }

    public void setMediaUrl(String mediaUrl) { this.mediaUrl = mediaUrl; }

    public void setMediaType(String mediaType) { this.mediaType = mediaType; }

    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }

    public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; }

    public void setIsPublic(Boolean isPublic) { this.isPublic = isPublic; }
} 